import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入wangeditor
import wangEditor from "wangeditor";
//给Vue添加一个全局属性，之后可以通过this.$angEditor访问到此属性
Vue.prototype.wangEditor = wangEditor;

//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入Axios
import axios from "axios";
Vue.prototype.axios=axios

//导入qs框架
import qs from 'qs'
Vue.prototype.qs=qs;

//导入baseUrl @代表src路径
import BaseUrl from "@/http/baseUrl";
Vue.prototype.BASE_URL = BaseUrl;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
